Q3BoundingBox_Set
You can use theQ3BoundingBox_Set
function to set the defining points of a bounding box.
TQ3BoundingBox *Q3BoundingBox_Set ( TQ3BoundingBox *bBox, const TQ3Point3D *min, const TQ3Point3D *max, TQ3Boolean isEmpty);
bBox
- A pointer to a bounding box.
min
- A pointer to a three-dimensional point.
max
- A pointer to a three-dimensional point.
isEmpty
- A Boolean value that indicates whether the specified bounding box is empty (
kQ3True
) or not (kQ3False
).DESCRIPTION
TheQ3BoundingBox_Set
function assigns the valuesmin
andmax
to themin
andmax
fields of the bounding box specified by thebBox
parameter.Q3BoundingBox_Set
also assigns the value of theisEmpty
parameter to theisEmpty
field of the bounding box.